﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VisionEstereo.SegmentacionColores
{
    public unsafe class PixelDato
    {

        /// <summary></summary>
        public byte Blue;
        /// <summary></summary>
        public byte Green;
        /// <summary></summary>
        public byte Red;

        public int posX, posY;

        public PixelDato(byte B, byte G, byte R, int X, int Y)
        {
            Blue = B;
            Green = G;
            Red = R;
            posX = X;
            posY = Y;
        }

        public PixelDato(byte B, byte G, byte R)
        {
            Blue = B;
            Green = G;
            Red = R;
            posX = 0;
            posY = 0;
        }

        public int getPosX()
        {
            return posX;
        }

        public int getPosY()
        {
            return posY;
        }

        public byte getBlue()
        {
            return Blue;
        }
    }
}
